package com.student.management.root.service.impl;

import com.student.management.root.dao.impl.MiddleDaoImpl;
import com.student.management.root.service.MiddleService;

import java.util.ArrayList;

public class MiddleServiceImpl implements MiddleService {
    private MiddleDaoImpl middleDao = new MiddleDaoImpl();
    @Override
    public ArrayList<Integer> queryMiddleById(int roleid) {
        return middleDao.queryMiddleById(roleid);
    }
}
